package com.user.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

@Data
@ToString
@ApiModel(value = "登录接口参数")
public class LoginVo {
    @NotBlank(message = "登录账号不能为空")
    @ApiModelProperty(value = "手机号", name = "phone")
    private String phone;

    @NotBlank(message = "密码不能为空")
    @ApiModelProperty(value = "密码", name = "password")
    private String password;

    @NotBlank(message = "验证码不能为空")
    @ApiModelProperty(value = "验证码", name = "verificationCode")
    private String verificationCode;

    @NotBlank(message = "验证码token不能为空")
    @ApiModelProperty(value = "验证码token", name = "verificationToken")
    private String verificationToken;

}
